/* Begin KR - S2 */

#ifndef SHOWFINDUPDATEKR_H_
#define SHOWFINDUPDATEKR_H_

#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "Customer.h"
#include "Cart.h"
#include "Cart_item.h"
#include "Product.h"

using namespace std;

class ShowFindUpdateKR {
public:
		/* Helper method for sorting customer by name */
		static void SortCustomersByName(vector<Customer>* custs);

        /* Will list all customer sorted by name */
        static void Show(vector<Customer> cust_data);
        
        /* Will calculate total sales of the given customer */
        static void Find(vector<Cart> cart_data, vector<Cart_item> cart_item_data, vector<Product> product_data);

        /* Will add a new customer into the customer data */
        static void Update(vector<Customer>* cust_data);

        /* Helper method for comparing customer */
        static bool compareCust(Customer const& c1, Customer const& c2);
};

#endif

/* End KR - S2 */
